#ifndef _USER_H
#define _USER_H

#include "mbox.h"

typedef enum { UNKNOWN = 0, DISCONNECTED = 1, CONNECTED = 2 } UserStatus_t;

typedef struct _user_t {
	char * name; /* max length = 6 */
	MBox_t * mbox; /* associated messagebox */
	UserStatus_t status; /* authentified or not */
} user_t;

#endif

